package com.derbysoft.ota.interfaces.ws.generic;

import com.derbysoft.ota.application.service.StagingService;
import com.derbysoft.ota.application.util.PayloadStdAttributes;
import com.derbysoft.ota.domain.server.ServerType;
import com.derbysoft.ota.interfaces.protocol._2009a.OTAPingRS;
import com.derbysoft.ota.interfaces.ws.AbstractEndpoint;

public class PingEndpoint extends AbstractEndpoint {

	public PingEndpoint(ServerType serverType, StagingService stagingService) {
		super(serverType, stagingService);
	}

	@Override
	protected Object invokeInternal(Object requestObject) throws Exception {
        return PayloadStdAttributes.copy(requestObject, new OTAPingRS());
	}

}
